<B:UIVKPOS  x:Class="WPFExcelReport.TERLVKP"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
    xmlns:UserControls="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Controls"
    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
    xmlns:VK="clr-namespace:WPFExcelReport;assembly=TVKKOPF"
    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
    xmlns:KD="clr-namespace:WPFExcelReport;assembly=TKDSTAMM" 
    xmlns:WD="clr-namespace:WPFExcelReport;assembly=TWDECK"
    xmlns:WG="clr-namespace:WPFExcelReport;assembly=TWGBST"
    xmlns:VA="clr-namespace:WPFExcelReport;assembly=TVAART" 
    xmlns:VF="clr-namespace:WPFExcelReport;assembly=TVAFARBEN" 
    xmlns:WFW="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"
    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
    xmlns:ZB="clr-namespace:WPFExcelReport;assembly=TVKZUAB"  
    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
      xmlns:B="clr-namespace:WPFExcelReport;assembly=TVKPOS" 
    xmlns:me="clr-namespace:WPFExcelReport"  
    xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"  
    x:Name="TV"
    Loaded="Window_Loaded"
 >
    <B:UIVKPOS.Resources>
        <CollectionViewSource   x:Key="vwMaster" />
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:TextTrimmingConverter  x:Key="trim"/>
        <ucd:PreisConverter  x:Key="price"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </B:UIVKPOS.Resources>
    <Grid Grid.Row="1" Grid.RowSpan="2"  Grid.Column="0" Grid.ColumnSpan="2" >
        <Grid.RowDefinitions>
            <RowDefinition   Height="Auto" />
            <RowDefinition   Height="1*" />
            <RowDefinition   Height="Auto" />
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
            <WrapPanel>

                <WrapPanel> 
                    <TextBlock Text="{Binding Source={Localization:Translate Word=差异:}}"/>
                    <TextBlock Text="{Binding DIFF,Source={StaticResource vwMaster}}" Width="20"/>
                </WrapPanel>
                <WrapPanel IsEnabled="{Binding IsCanERL,ElementName=TV}" Visibility="{Binding IsERL,ElementName=cAudit,Converter={StaticResource nbv}}" >
                    <TextBlock Text="{Binding Source={Localization:Translate Word=结束订单}}"  />
                    <Button Grid.Column="5" Height="20"  Width="24" Margin="10,0,0,0" Click="ErlCommand"   >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/arrow-rightend.png" />
                        </Button.Background>
                    </Button>

                </WrapPanel>
                <me:TNWFAPP ART="MVKPENDRJT"
                            x:Name="cAudit" 
                           EXAUF="{Binding ORDERNUM,ElementName=TV}" 
                        IsWFApproved="{Binding IsERLAudit,ElementName=TV}" 
                        />
            </WrapPanel>

        </StackPanel>
    </Grid>
</B:UIVKPOS>
